/**
 * @param {Egg.Application} app - egg application
 */
module.exports = (app) => {
  const { router, controller } = app;
  controller.new.index;
  router.get("/", controller.home.index);
  router.get("/test", controller.home.test);
  router.get("/admin", controller.admin.index);
  router.get("/news", controller.new.index);
  router.get("/newscontent", controller.new.newscontent);
  router.get("/newsList/:id", controller.new.newsList);
};
